package com.wgo.bpot.common.transport.exception.db;

/**
 * 
 * This exception is to be thrown if the information in the database
 * has been left inconsistent.
 * 
 */
public class CorruptDatabaseException extends DatabaseException {

    private static final long serialVersionUID = 1L;

    /**
	 * 
	 * Constructor that takes a message to send
	 * 
	 * @param message The message to send
	 */
	public CorruptDatabaseException(String message) {
		super(message);
	}
		
	/**
	 * 
	 * Wraps another exception
	 * 
	 * @param e The exception to wrap
	 */
	public CorruptDatabaseException(Exception e) {
		super(e);	
	}
	
	/**
	 * 
	 * Takes a message and wraps another exception
	 * 
	 * @param message The message to set
	 * @param e The exception to wrap
	 */
//	public CorruptDatabaseException(String message, Exception e) {
//		super(message, e);
//	}
}
